package com.meituan.catering.management.shop.api.http.model.response;

import com.meituan.catering.management.shop.api.http.model.common.AuditingHttpDTO;
import com.meituan.catering.management.shop.api.http.model.common.ContactDTO;
import com.meituan.catering.management.shop.api.http.model.common.DateRangeDTO;
import com.meituan.catering.management.shop.api.http.model.common.DescribableEnumDTO;
import com.meituan.catering.management.shop.biz.model.common.DateRangeBO;
import lombok.Data;

import java.util.LinkedList;
import java.util.List;

/**
 * @Author:ale
 * @Date 2022/4/22 17:17
 * @Version 1.0
 */
@Data
public class ShopPageHttpResponse {

    private Integer pageIndex;

    private Integer pageSize;

    private Integer totalCount;

    private Integer totalPageCount;

    private final List<Record> records = new LinkedList<>();



    @Data
    public static class Record {

        private Long id;

        private Long superiorId;

        private Long tenantId;

        private String businessNo;

        private String name;

        private String businessType;

//        private final DescribableEnumDTO businessType = new DescribableEnumDTO();

        private final ContactDTO contact  = new ContactDTO();

//        private final DescribableEnumDTO managementType  = new DescribableEnumDTO();
        private String managementType;

        private final DateRangeDTO openingHours = new DateRangeDTO();

        private String businessArea;

        private String comment;

        private Boolean enabled;


    }
}
